//
//  YWInputMerchant.m
//  百布业务
//
//  Created by 陈炳桦 on 15/11/4.
//  Copyright © 2015年 陈炳桦. All rights reserved.
//

#import "YWInputMerchant.h"

@interface YWInputMerchant() <NSCoding>

@end

@implementation YWInputMerchant

#pragma mark - 自定义归档
- (void)encodeWithCoder:(NSCoder *)aCoder{
    
    [aCoder encodeObject:self.date forKey:@"date"];
    [aCoder encodeObject:self.code forKey:@"code"];
    [aCoder encodeObject:self.password forKey:@"password"];
    
    
}

- (nullable instancetype)initWithCoder:(NSCoder *)aDecoder{
    if (self = [super init]) {
        self.date=[aDecoder decodeObjectForKey:@"date"];
        self.code = [aDecoder decodeObjectForKey:@"code"];
        self.password = [aDecoder decodeObjectForKey:@"password"];
    }
    return self;
}

@end
